/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.image.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.image.entity.Image;
import com.jeeplus.modules.image.mapper.ImageMapper;

/**
 * 图片Service
 * @author zhych
 * @version 2022-05-08
 */
@Service
@Transactional(readOnly = true)
public class ImageService extends CrudService<ImageMapper, Image> {

	public Image get(String id) {
		return super.get(id);
	}
	
	public List<Image> findList(Image image) {
		return super.findList(image);
	}
	
	public Page<Image> findPage(Page<Image> page, Image image) {
		return super.findPage(page, image);
	}
	
	@Transactional(readOnly = false)
	public void save(Image image) {
		super.save(image);
	}
	
	@Transactional(readOnly = false)
	public void delete(Image image) {
		super.delete(image);
	}
	
}